Skip to main content

Electronic Signature

tip
MAINNET BASEURL
  https://api-edexagw.edexa.com/bstamp/
TESTNET BASEURL
  https://api-edexagw.io-world.com/bstamp/ 

Add Electronic Signature

POST hash
  • The request body contains a form data.
  • You have to pass your Bearer Token via the Authorization parameter through the headers.
POST: Electronic Signature
cURL
curl --location --request POST 'https://api-edexagw.io-world.com/bstamp/hash' \
--header 'Content-Type: multipart/form-data' \
--header 'Authorization: Bearer token' \
--form 'hash="6d6db6c25841a8aq2ba86ce3fa164der78d912351e8e3411369a857d87babf3gdf"' \
--form 'filename="demo.pdf"' \
--form 'attachments=@"******/Documents/demo.pdf"' \
  • Request perameters
Parameters
KeyValueTypeDescription
hash6d6db6c2*****************************StringThe hash value
filenamedemo.pdfxml or pdfName of file with xml and pdf extension
attachmentssample.pdffileAn file, which you want to esign
Responses
200: Success
{
"status": 200,
"message": "Your hash is created with block chain",
"data": {
"id": "6409e64*********",
"hash": "6d6db6c25*********************",
"txid": "4c934966e102***********************",
"code": "0da***",
"filename": "Test.pdf"
}
}
404: The user is not part of edeXa universe
{
"status": 404,
"message": "User Not Found"
}
409: Conflict, The request you are doing is already exist in system
{
"status": 409,
"message": "Stamp Already Exists"
}
500: Some Technical Issue Occured
{
"status": 500,
"message": "Something went wrong, please try again"
}